package com.springcloud.sc.ucp.v5.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("ucp_voip_voice")
public class UcpVoipVoice extends Model<UcpVoipVoice> {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.ID_WORKER_STR)
    private String id;

    @TableField("uuid")
    private String uuid;

    @TableField("promulgator")
    private String promulgator;

    @TableField("promulgator_name")
    private String promulgatorName;

    @TableField("publish_time")
    private String publishTime;

    @TableField("publish_file_path")
    private String publishFilePath;

    @TableField("publish_way")
    private String publishWay;

    @TableField("called_numbers")
    private String calledNumbers;

    @TableField("result")
    private int result;

    @TableField("v_type")
    private String vType;

    @TableField("create_time")
    private String createTime;

    @TableField("group_list")
    private String groupList;

    @TableField("success_sum")
    private Integer successSum;

    @TableField("failed_sum")
    private Integer failedSum;


    protected Serializable pkVal() {
        return this.id;
    }

}
